package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 complain
 * 
 * @author ruoyi
 * @date 2023-03-03
 */
public class Complain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 投诉受理id */
    private Long complainId;

    /** 投诉公司 */

    private Long companyId;
    /** 是否匿名 */
    @Excel(name = "是否匿名",readConverterExp = "0=否,1=是")
    private String anonymous;

    @Excel(name = "投诉公司名字")
    private String companyName;

    /** 投诉人手机号 */
    @Excel(name = "投诉人手机号")
    private String complainantPhone;

    /** 投诉时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "投诉时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date complainTime;

    /** 被投诉人 */
    @Excel(name = "被投诉人")
    private String respondent;

    /** 投诉标题 */
    @Excel(name = "投诉标题")
    private String complainTitle;

    /** 投诉内容 */
    @Excel(name = "投诉内容")
    private String complainContent;

    /** 回复人 */
    private Long userId;
    @Excel(name = "回复人")
    private String nickName;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyContent;

    /** 假删除状态 */
    private Long fakeDelete;

    public void setComplainId(Long complainId) 
    {
        this.complainId = complainId;
    }

    public Long getComplainId() 
    {
        return complainId;
    }

    public String getAnonymous() {
        return anonymous;
    }

    public void setAnonymous(String anonymous) {
        this.anonymous = anonymous;
    }

    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setComplainantPhone(String complainantPhone) 
    {
        this.complainantPhone = complainantPhone;
    }

    public String getComplainantPhone() 
    {
        return complainantPhone;
    }
    public void setComplainTime(Date complainTime) 
    {
        this.complainTime = complainTime;
    }

    public Date getComplainTime() 
    {
        return complainTime;
    }
    public void setRespondent(String respondent) 
    {
        this.respondent = respondent;
    }

    public String getRespondent() 
    {
        return respondent;
    }
    public void setComplainTitle(String complainTitle) 
    {
        this.complainTitle = complainTitle;
    }

    public String getComplainTitle() 
    {
        return complainTitle;
    }
    public void setComplainContent(String complainContent) 
    {
        this.complainContent = complainContent;
    }

    public String getComplainContent() 
    {
        return complainContent;
    }

    public void setReplyContent(String replyContent) 
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent() 
    {
        return replyContent;
    }
    public void setFakeDelete(Long fakeDelete) 
    {
        this.fakeDelete = fakeDelete;
    }

    public Long getFakeDelete() 
    {
        return fakeDelete;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("complainId", getComplainId())
            .append("anonymous", getAnonymous())
            .append("companyId", getCompanyId())
            .append("complainantPhone", getComplainantPhone())
            .append("complainTime", getComplainTime())
            .append("respondent", getRespondent())
            .append("complainTitle", getComplainTitle())
            .append("complainContent", getComplainContent())
            .append("userId", getUserId())
            .append("replyContent", getReplyContent())
            .append("fakeDelete", getFakeDelete())
            .append("nickName", getNickName())
            .append("companyName", getCompanyName())
            .toString();
    }
}
